package com.aipartner.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * VIP购买请求DTO
 * 
 * @author AI伙伴团队
 * @since 2024-01-20
 */
@Data
@ApiModel(description = "VIP购买请求")
public class VipPurchaseRequest {
    
    @ApiModelProperty(value = "用户ID", required = true, example = "1234567890")
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    
    @ApiModelProperty(value = "VIP套餐类型", required = true, example = "monthly")
    @NotBlank(message = "VIP套餐类型不能为空")
    private String vipType;
    
    @ApiModelProperty(value = "支付方式：wechat-微信支付，alipay-支付宝", required = true, example = "wechat")
    @NotBlank(message = "支付方式不能为空")
    private String paymentMethod;
    
    @ApiModelProperty(value = "客户端IP", example = "192.168.1.1")
    private String clientIp;
    
    @ApiModelProperty(value = "用户代理", example = "Mozilla/5.0...")
    private String userAgent;
}
